package com.core.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.core.model.User;
@Transactional(propagation=Propagation.REQUIRES_NEW,readOnly=false,isolation=Isolation.DEFAULT)
public interface UserDAO extends BaseMapper<User>{
	
	/*@Select(value = "SELECT * FROM user ${ew.sqlSegment}")*/
	User loginTest(@Param("ew") Wrapper<User> wrapper);
	
}
